import java.util.Scanner;

public class demo14 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入一个数");
        int num=sc.nextInt();
        int n=0;
        while (n>0){
            n=n*10+num%10;
            num/=10;

        }
        if (n/10==num || num==n){
            System.out.println("是回文数");
        }
    }
}
